package com.flower.subject.domain.convent;

import com.flower.subject.domain.entity.SubjectInfoBO;
import com.flower.subject.domain.entity.SubjectLabelBO;
import com.flower.subject.domain.entity.SubjectOptionBO;
import com.flower.subject.infra.basic.entity.SubjectInfo;
import com.flower.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author lavender
 * @version 1.0
 * @date 2024-07-03 11:34
 */
@Mapper
public interface SubjectInfoConverter {
    SubjectInfoConverter INSTANT = Mappers.getMapper(SubjectInfoConverter.class);

    SubjectInfo convertBOtoInfo(SubjectInfoBO subjectInfoBO);


    List<SubjectInfoBO> convertInfoToBOList(List<SubjectInfo> subjectInfo);

    SubjectInfoBO convertOptiontoBO(SubjectOptionBO subjectOptionBO);

    SubjectInfoBO convertOptionAndInfotoBO(SubjectOptionBO subjectOptionBO, SubjectInfo subjectInfo);




}
